.class public Lcom/hierynomus/smbj/smb2/messages/q;
.super Lcom/hierynomus/smbj/smb2/d;
.source "SMB2TreeConnectResponse.java"


# instance fields
.field private c:B

.field private d:Ljava/util/EnumSet;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/EnumSet<",
            "Lcom/hierynomus/smbj/smb2/SMB2ShareCapabilities;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/hierynomus/smbj/smb2/d;-><init>()V

    return-void
.end method


# virtual methods
.method protected b(Lcom/hierynomus/smbj/common/b;)V
    .locals 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/protocol/commons/buffer/Buffer$BufferException;
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/d;->a:Lcom/hierynomus/smbj/smb2/c;

    invoke-virtual {v0}, Lcom/hierynomus/smbj/smb2/c;->f()Lcom/hierynomus/mserref/NtStatus;

    move-result-object v0

    sget-object v1, Lcom/hierynomus/mserref/NtStatus;->STATUS_SUCCESS:Lcom/hierynomus/mserref/NtStatus;

    if-ne v0, v1, :cond_0

    const/4 v0, 0x2

    .line 2
    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 3
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->e()B

    move-result v0

    iput-byte v0, p0, Lcom/hierynomus/smbj/smb2/messages/q;->c:B

    .line 4
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->e()B

    .line 5
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    .line 6
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    move-result-wide v0

    const-class v2, Lcom/hierynomus/smbj/smb2/SMB2ShareCapabilities;

    invoke-static {v0, v1, v2}, Les/ed0$a;->a(JLjava/lang/Class;)Ljava/util/EnumSet;

    move-result-object v0

    iput-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/q;->d:Ljava/util/EnumSet;

    .line 7
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    :cond_0
    return-void
.end method

.method public c()Ljava/util/EnumSet;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/EnumSet<",
            "Lcom/hierynomus/smbj/smb2/SMB2ShareCapabilities;",
            ">;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/q;->d:Ljava/util/EnumSet;

    return-object v0
.end method

.method public d()Z
    .locals 2

    .line 1
    iget-byte v0, p0, Lcom/hierynomus/smbj/smb2/messages/q;->c:B

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    :goto_0
    return v1
.end method

.method public e()Z
    .locals 2

    .line 1
    iget-byte v0, p0, Lcom/hierynomus/smbj/smb2/messages/q;->c:B

    const/4 v1, 0x2

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public f()Z
    .locals 2

    .line 1
    iget-byte v0, p0, Lcom/hierynomus/smbj/smb2/messages/q;->c:B

    const/4 v1, 0x3

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method
